package com.jokins.admin.vue.hefeng.vo;

import com.jokins.common.entry.hefeng.City;
import lombok.Data;
import lombok.EqualsAndHashCode;

@Data
@EqualsAndHashCode(callSuper = false)
public class CityVo {

    private String cityId;
    // 地区/城市名称
    private String name;


    public CityVo(City city) {
        this.cityId = city.getCityId();
        this.name = city.getCountry()+"-"+city.getAdm1()+"-"+city.getAdm2()+"-"+city.getName();
    }
}
